<?php 
	function ActiveMainMenu($page) {
		$router = new Router();
		echo ($router->page == $page ? "Active" : "");
	}
?>

<?php global $router; ?>
<?php global $lang; ?>

<li id="AboutUs<?php ActiveMainMenu("about"); ?>"><a href="<?php echo $router->lang; ?>/about"><?php echo $lang->menu["about"]; ?></a></li>
<li id="Gaming<?php ActiveMainMenu("game"); ?>"><a href="<?php echo $router->lang; ?>/game/a4"><?php echo $lang->menu["gaming"]; ?></a></li>
<li id="LEDInformationSystems<?php ActiveMainMenu("led"); ?>"><a href="<?php echo $router->lang; ?>/led/watch"><?php echo $lang->menu["led"]; ?></a></li>
<li id="Contact<?php ActiveMainMenu("contact"); ?>"><a href="<?php echo $router->lang; ?>/contact"><?php echo $lang->menu["contact"]; ?></a></li>